<!DOCTYPE html >
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <title>查看字典数据</title>
    <script th:replace="common/head::static"></script>
</head>
<body>
<form class="layui-form" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">字典类型</label>
        <div class="layui-input-block">
            <input type="text" th:value="${sysDictionaryData.sysDictionaryType.name}" th:disabled="true" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">字典标签</label>
        <div class="layui-input-block">
            <input type="text" th:value="${sysDictionaryData.label}" th:disabled="true" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">字典键值</label>
        <div class="layui-input-block">
            <input type="text" th:value="${sysDictionaryData.value}" th:disabled="true" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-block">
            <input type="text" th:value="${sysDictionaryData.sort}" th:disabled="true" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea class="layui-textarea" th:disabled="true" th:text="${sysDictionaryData.remark}"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否可用</label>
        <div class="layui-input-block">
            <input type="radio" name="valid" value="Y" title="是" th:checked="${#strings.equals(sysDictionaryData.valid, 'Y')}" th:disabled="true">
            <input type="radio" name="valid" value="N" title="否" th:checked="${#strings.equals(sysDictionaryData.valid, 'N')}" th:disabled="true">
        </div>
    </div>
</form>
<script>
    layui.use(['form'], function () {
        const form = layui.form;
        form.render();
    });
</script>
</body>
</html>